package com.rabbitmq.ChattingRoom.service.mapper;

import com.rabbitmq.ChattingRoom.util.Entity.UserRoomMapping;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserRoomMappingMapper extends BaseMapper<UserRoomMapping> {

    Long isExist(@Param("userId") Long userId,@Param("roomId") Long roomId);

}
